#include "Common.h"
#include "ScriptMgr.h"
#include "NGLog.h"
#include "Setup.h"
#include "MyWorldMain.h"
#include "CommonWorldMain.h"
#include "GameDefine.h"

extern "C" SCRIPT_DECL uint32 _exp_get_version()
{
	return MAKE_SCRIPT_VERSION(BUILD_REVISION / 1000, BUILD_REVISION % 1000);
}


extern "C" SCRIPT_DECL uint32 _exp_get_script_type()
{
	return SCRIPT_TYPE_ENGINE_EXT;
}


extern "C" SCRIPT_DECL void _exp_script_register(ScriptMgr* mgr) 
{
	my_exp_script_register(mgr);
	common_exp_script_register(mgr);
	register_world_process(mgr);
	register_world_create_ai(mgr);
	register_Club_world_process(mgr);
#ifdef MJPUBLIC
	register_MJ_world_process(mgr);
#endif // MJPUBLIC
#ifdef CENTERMATCH
	register_CM_world_process(mgr); 
#endif // CENTERMATCH

} 
